package com.neusoft.neuiotms.dcom.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.KnowledgeType;

public interface KnowledgeTypeRepository extends JpaRepository<KnowledgeType,Long>,CustomizedKnowledgeTypeRepository {

    KnowledgeType findByCode(String code);
    KnowledgeType findByName(String name);
    List<KnowledgeType> findByParentId(Long id);
}
